package Demo03;

public class Demo04GenericInterface {
    public static void main(String[] args) {
        GenericInterfaceImpl gil = new GenericInterfaceImpl();
        gil.method(123);

        GenericInterfaceImpl1<Integer> gi2 = new GenericInterfaceImpl1<>();
        gi2.method(10);

        GenericInterfaceImpl1<Double> gi3 = new GenericInterfaceImpl1<>();
        gi3.method(8.8);

    }
}
